import moment from 'moment'
export default function (app) {
  app.directive('formatTimeDay', {
    mounted(el, bindings, vnode, preVnode) {
      console.log(el.innerText)
      el.innerText = moment(el.innerText * 1).format('YYYY-MM-DD')
    },
  })
}
